/*
 * @Author: wuyuxin
 * @Date: 2022-02-21 15:39:15
 * @LastEditors: wuyuxin
 * @LastEditTime: 2022-02-21 15:46:04
 * @Description: 
 */
const path = require('path');

// node中的api
// process.cwd()返回的是当前Node.js进程执行时的工作目录。
const appDir = process.cwd();
const resolveApp = (relativePath) => path.resolve(appDir, relativePath);

module.exports = resolveApp;
